#pragma once

namespace soft_renderer
{
	class Color4
	{
	private:
		double _r, _g, _b, _a;

	public:
		Color4(double r = 1.0, double g = 1.0, double b = 1.0, double a = 1.0);
		double r();
		double g();
		double b();
		double a();

		void set(double r, double g, double b, double a);
		void copy(const Color4& c);
	};
}
